package com.pengpeng.dynamic.service;

import com.pengpeng.dynamic.mapper.UserMapper;
import com.pengpeng.dynamic.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 彭鹏
 * @date 2021/11/4.
 */
@Service
public class UserServiceImpl implements UserService{
    @Autowired
    private UserMapper uerMapper;

    @Override
    public List<User> findAll() {
        return uerMapper.selectAll();
    }
}
